package com.hutao.manage.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hutao.manage.query.ExportCSVParam;

public interface ExportCSVMapper {

	List<Map<String,Object>> getPatientInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getAdrInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getEmrAdmissionInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getEmrProcessInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getEmrDischargeProcessInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getInpatientSurgicalRecordList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getInpatientNursingRecordList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getInpatientOrderList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getInpatientExpenseRecordOrderList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getOutpatientInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getOutpatientDiagMedrecordList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getOutpatientOrderAndPresList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getOutpatientExpenseRecordList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getExamInfoList(ExportCSVParam exportCSVParam);
	

	List<Map<String, Object>> getLabInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getPathlogicalExamRecordLabInfoList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getDrugPurchaseList(ExportCSVParam exportCSVParam);

	List<Map<String, Object>> getDrugUseList(ExportCSVParam exportCSVParam);
	
	List<Map<String, Object>> getMedicalHomepageList(ExportCSVParam exportCSVParam);
	
	List<Map<String, Object>> getDiseaseByOlyId(@Param("onlyId")String onlyId);
	
	List<Map<String, Object>> getOperationByOlyId(@Param("onlyId")String onlyId);
	
	List<String> getAssistantByOnlyIdAndOpNo(@Param("opsNo")String opsNo,@Param("onlyId")String onlyId);
	
	List<Map<String,Object>> getCostFeeByOnlyId(@Param("onlyId")String onlyId);
	
	List<String> getMrOutLabOnlyId(ExportCSVParam exportCSVParam);
	
	List<String> getMrInLabOnlyId(ExportCSVParam exportCSVParam);
	
	List<Map<String,Object>> getMrOutLabRecordByOnlyIds(@Param("onlyIdList")List<String> onlyIdList);

	List<Map<String,Object>> getDrugUserByMonth(@Param("yearMonth") String yearMonth);

}
